package paneles

import PlantasWicket.HomePage
import modelo.Jugador
import org.apache.wicket.markup.html.panel.Panel
import org.uqbar.wicket.xtend.WicketExtensionFactoryMethods
import org.uqbar.wicket.xtend.XLink

class LOSEpanel extends Panel {
	extension WicketExtensionFactoryMethods = new WicketExtensionFactoryMethods
	Jugador jugador
	
	new(String id, Jugador jugador) {
		super(id)
 		this.addChild(new XLink("reset") => [
				onClick = [| setResponsePage(HomePage)
		]]
		)
	}

}
